package com.jsyl.lwbk.business.service;

import com.jsyl.lwbk.business.dto.ClassPlanDetailDTO;
import com.jsyl.lwbk.business.domain.ClassPlanDetail;
import com.jsyl.lwbk.business.dto.SaveProjectDTO;
import com.jsyl.lwbk.common.core.domain.Ztree;

import java.util.List;

public interface ClassPlanDetailService {

    List<ClassPlanDetail> findList(Long classPlanId,Integer classTimes);

    void updateLinkRuleType(Long id, Integer linkRuleType);

    List<Ztree> getProjectTree(Long classPlanDetailId);

    int saveProject(SaveProjectDTO dto);

    int sortProject(SaveProjectDTO dto);

    /**
     * 获取主题项目
     * @param classPlanId
     * @return
     */
    List<ClassPlanDetailDTO> listThemeProject(Long classPlanId);
}
